def clone(self):
new_object = copy.copy(self)<EOL>if new_object.next:<EOL><INDENT>new_object.next = new_object.next.clone()<EOL><DEDENT>return new_object<EOL>
Self-cloning. All its next Pipe objects are cloned too.

        :returns: cloned object