Returns a copy of this document configured to issue mutations on behalf of replica. Call this after deserialization to restore the local replica id.