What’s the female version of castration?

r/

I heard a long time ago that male rapists should be castrated.

But that got me thinking, what would the female version of that be?