'Create a new copy of this SHA1 object from its raw string'

def copy(self):

    obj_class = object_class(self.get_type())
    return obj_class.from_raw_string(self.get_type(), self.as_raw_string(), self.id)
