Cloning and deleting functionality and tests

- Relations are properly cloned/deleted downtree, etc