code: def clone(self, reset_fields=list()):
          
  
          if not isinstance(reset_fields, list):
              raise InvalidUsage("reset_fields must be a `list` of fields")
  
          try:
              response = self.get_one()
              if 'sys_id' not in response:
                  raise NoResults()
          except MultipleResults:
              raise MultipleResults('Cloning multiple records is not supported')
          except NoResults as e:
              e.args = ('Cannot clone a non-existing record',)
              raise
  
          payload = {}
  
          # Iterate over fields in the result
          for field in response:
              # Ignore fields in reset_fields
              if field in reset_fields:
                  continue
  
              item = response[field]
              # Check if the item is of type dict and has a sys_id ref (value)
              if isinstance(item, dict) and 'value' in item:
                  payload[field] = item['value']
              else:
                  payload[field] = item
  
          try:
              return self.insert(payload)
          except UnexpectedResponse as e:
              if e.status_code == 403:
                  # User likely attempted to clone a record without resetting a unique field
                  e.args = ('Unable to create clone. Make sure unique fields has been reset.',)
              raise
docs: Clones the queried record
  
          :param reset_fields: Fields to reset
          :raise:
              :NoResults: if query returned no results
              :MultipleResults: if query returned more than one result (currently not supported)
              :UnexpectedResponse: informs the user about what likely went wrong
          :return:
              - The cloned record