Added method to clone a domain