def _clone(self):
    cloned = self.__class__.__new__(self.__class__)
    cloned.__dict__.update(self.__dict__)
    return cloned
def _clone(self):
    cloned = self.__class__.__new__(self.__class__)
    cloned.__dict__.update(self.__dict__)
    return cloned