def copy(self, unchangeable=None):
        """If unchangeable is None, then just following the original config's setting."""
        if unchangeable is None:
            unchangeable = self._unchangeable
        return Config(self, unchangeable)
If unchangeable is None, then just following the original config's setting.
metadrive/utils/config.py