Transfer of quantum correlations from light to atoms in the case of irreversible evolution