Added code/tests for clone_each