:internal: add copy constructor for node classes that need it