CADMIUM-155: Added api endpoint for cloning from a domain to an env.