Fixed bug with model.clone, intent.clone, view.clone