def _clone(self, obj, deep):
        if hasattr(obj, 'clone'):
            return obj.clone(deep)
        elif isinstance(obj, (list, tuple)):
            return [self._clone(x, deep) for x in obj]
        else:
            return obj
Clone an arbitrary object; used by L{Tag.clone}.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/web/_stan.py/Tag._clone