adding deep clone option to Composer.object.clone()