With the introduction of RelyingPartyRegstration#mutate, OpenSamlRelyingPartyRegistration should no longer be necessary. It was originally introduced to ensure that OpenSamlAssertingPartyDetails and thus the EntityDescriptor would be preserved across copies; without that, this class can be deprecated and eventually removed.