make it possible to clone parts of schemanode

For some apps I want to use a complete schema as a base for derived schemas which are equal to the complete schema but only contains a subset of the subnodes. I have implemented that via adding an optional argument to `clone` which contains the names of the subnodes to clone.