fix bug in RTTI
initial impl of template tree management with origin node
add ability to omit meta data on copy, which should be done when copying between templates and clones