It's certainly amazing sportsmanship.
I can't imagine that I would have done the same thing if I were in their shoes. In fact, I don't think that would ever happen in a men's sporting event.
Every once in a while in soccer, if a guy is injured, the opposing team will kick the ball out of bounds on purpose to allow for the substitution, but even then, it's considered good etiquette for the team of the injured player to pass the ball back immediately once the substitution is made. This doesn't always happen, though.