SERVER-8046 Add support for cloning elements to mutable