Invariance conditions for MIMO systems based on regularization