edited clone

moved clone.hpp into rtti
added test cases for clone