lib/parse/model/object.rb
def twin
      h = self.as_json
      h.delete(Parse::Model::OBJECT_ID)
      h.delete(:objectId)
      h.delete(:id)
      self.class.new h
    end
def twin
      h = self.as_json
      h.delete(Parse::Model::OBJECT_ID)
      h.delete(:objectId)
      h.delete(:id)
      self.class.new h
    end
This method creates a new object of the same instance type with a copy of
 all the properties of the current instance. This is useful when you want
 to create a duplicate record.
 @return [Parse::Object] a twin copy of the object without the objectId