Climate-Invariant Machine Learning