[fix] copy return the correct node subclass instance of a node instance