Or create a struct that holds all anticipated values as pointers. Create setters. Yes the api will be different from the other languages involved but the other languages have generics.
In other words there is a solution to the problem that doesn't require generics at all.
"Intersectionalism" is a clever technique being leveraged by the very people who have, for decades, studied how media influences groups of people to do and think particular things. It is a weapon crafted to create a larger group out of disparate smaller ones. Whether or not it is justified is an entirely different argument. To say that people struggle at different levels in life strictly because of their skin color or ethnicity is hilarious to me. All people struggle in all kinds of ways.
So masking the interview... doesn't mean women will do better. You might be surprised why if your disposition leans towards social conspiracy theories.
In other words there is a solution to the problem that doesn't require generics at all.