It's likely a misconfiguration to construct a ClientRegistration repository with duplicate primary keys.
As such, InMemoryClientRegistrationRepository fails if two registrations with the same id are provided. InMemoryReactiveClientRegistrationRepository does not do this, but it should.