Use free standing function for DeduplicateMapInputsOutputs pattern.
Use free standing function for DeduplicateMapInputsOutputs pattern.

Standalone method can be used for the simple case here which removes the boilerplate of creating the class first.

PiperOrigin-RevId: 364984143

google-research/structured-additive-IR,google-research/structured-additive-IR