proper clip editing and restoring
more proper clip memory management

corrected use of copy-ctor