added doc and removing clone of the object