'Duplicate a node.  This is part of the factory;
override if you want another kind of node to be built.
I could use reflection to prevent having to override this
but reflection is slow.'

def dupNode(self, treeNode):

    if (treeNode is None):
        return None
    return treeNode.dupNode()
