added javascript cloneData for cloning data objects
fixing the model binding for view/edit and clone the backend object