def _clone(self):
    q = self.__class__.__new__(self.__class__)
    q.__dict__ = self.__dict__.copy()
    return q
def _clone(self):
    q = self.__class__.__new__(self.__class__)
    q.__dict__ = self.__dict__.copy()
    return q