added cloning functionality in ui automation