def __getstate__(self):
        """Handle pickling by preserving configuration parameters."""
        state = self.__dict__.copy()
        # Note: We keep all parameters since they're needed for reconstruction
        return state
Handle pickling by preserving configuration parameters.
pymoo/parallelization/joblib.py