def __deepcopy__(self, memo):
    cls = self.__class__
    obj = cls()
    obj.loadJSON(self.dumpJSON())
    return obj
def __deepcopy__(self, memo):
    cls = self.__class__
    obj = cls()
    obj.loadJSON(self.dumpJSON())
    return obj