Return a shallow copy of this object.

def copy(self):
        """Return a shallow copy of this object.

        """
        new = self.__class__()
        new.__dict__ = dict(self.__dict__)
        return new