Method clone() overriden and used now. Error after multiple operations fixed.