Added behavior functionality and object cloning