While Pentax has probably the widest range of pancake lenses in current production, there are pancake lenses from other makes that are just as good if not better than the original Pentax DA & M 40mm pancakes.
Three that come to mind are the Contax Tessar T* 45mm f2.8, Nikon 45mm f/2.8 P, Konica 40mm f/1.8 Hexanon. I have used the Nikon and the Konica in the past and they easily outperform the current DA 40mm hands down. The Voigtlander 40mm f/2 SL II is also a strong contender optically. Even Minolta had a pancake lens in the form of the Rokkor 45mm f/2 MD.
Just to put things in perspective that pancakes aren't a new thing or unique only to Pentax. All pancakes follow the Tessar lens design where there is even center and edge performance at the expense of a large max aperture.
Oops. I thk I am a frog in the well. Ha.