def clone(self):
class Uninitialized(Client):<EOL><INDENT>def __init__(self):<EOL><INDENT>pass<EOL><DEDENT><DEDENT>clone = Uninitialized()<EOL>clone.options = Options()<EOL>cp = Unskin(clone.options)<EOL>mp = Unskin(self.options)<EOL>cp.update(deepcopy(mp))<EOL>clone.wsdl = self.wsdl<EOL>clone.factory = self.factory<EOL>clone.service = ServiceSelector(clone, self.wsdl.services)<EOL>clone.sd = self.sd<EOL>clone.messages = dict(tx=None, rx=None)<EOL>return clone<EOL>
Get a shallow clone of this object.
The clone only shares the WSDL.  All other attributes are
unique to the cloned object including options.
@return: A shallow clone.
@rtype: L{Client}