SERVER-12578 Permit in-place mutation for all types when possible