cmdlet/cmdlet.py
def clone(self):
        """Self-cloning. All its next Pipe objects are cloned too.

        :returns: cloned object
        """
        new_object = copy.copy(self)
        if new_object.next:
            new_object.next = new_object.next.clone()
        return new_object
def clone(self):
        """Self-cloning. All its next Pipe objects are cloned too.

        :returns: cloned object
        """
        new_object = copy.copy(self)
        if new_object.next:
            new_object.next = new_object.next.clone()
        return new_object
def clone ( self ) : new_object = copy . copy ( self ) if new_object . next : new_object . next = new_object . next . clone ( ) return new_object
Self-cloning. All its next Pipe objects are cloned too.

        :returns: cloned object
Self - cloning . All its next Pipe objects are cloned too .