docs: def detach(self):
          """
          Detaches the instance from its history.
  
          Similar to creating a new object with the same field values. The id and
          identity fields are set to a new value. The returned object has not
          been saved, call save() afterwards when you are ready to persist the
          object.
  
          ManyToMany and reverse ForeignKey relations are lost for the detached
          object.
  
          :return: Versionable
          """
          self.id = self.identity = self.uuid()
          self.version_start_date = self.version_birth_date = get_utc_now()
          self.version_end_date = None
          return self