Sounds like a bad sitcom. But what are the airlines to do with passengers who kick the bucket inflight? You can't chuck them out the door.
At least on a cruise, they can place the deceased in a cool place until they reach port.
I'm surprised that this many folks pass away on flights on major airlines a year.