fixed clone, testing non-existent keys