As we teach in open water . . . if you have a situation that lands you with no breathing gas underwater, the first choice is sharing gas with your buddy. If you have a reliable buddy, who is close enough to reach and who has maintained adequate reserves, it should be pretty much a non-event to get to the surface. This is the way I dive.
If you dive frequently with people who are unknown to you, inexperienced or of questionable training, you may well want to provide yourself with more redundancy. That's usually done via a pony bottle, and less often via an H-valve. With a pony, you have true redundancy, and with an H-valve, a tank o-ring failure can still leave you without anything to breathe. Given that rental tanks rarely come with H-valves, and that many people rent tanks or travel, I think the pony solution tends to be more common.
It is my heartfelt wish that everybody in the diving world were reliable enough that no one would feel the need to carry a redundant gas supply. It IS possible.