def copy(self):
try:<EOL><INDENT>tmp = self.__class__()<EOL><DEDENT>except Exception:<EOL><INDENT>tmp = self.__class__(self._pdict)<EOL><DEDENT>tmp._serializers = self._serializers<EOL>tmp.__deserializers = self.__deserializers<EOL>return tmp<EOL>
makes a clone copy of the mapper. It won't clone the serializers or deserializers and it won't copy the events