Gender flip

A gender flip[1][2] is when a fictional character is created to have a different sex in another setting or in an adaptation of a work.

The Internet meme Rule 63 predicts the prevalence of this.