code: def _clone_properties(self):
      
      cls = self.__class__
      if self._properties is cls._properties:
        self._properties = dict(cls._properties)
docs: Internal helper to clone self._properties if necessary.