Invariance under dependence by mixing