Pentax branded P-TTL flashes have at least one advantage over the 3rd party flashes -- If the Pentax DSLR body designers upgrade features or protocols for P-TTL or wireless remote TTL in the bodies, these changes are made to be compatible with the firmware built into their own flashes, but not necessarily the 3rd party flashes. Many of the latter allow user firmware updates via a USB port, but others don't. . The bottom line of this is that used 3rd party "P-TTL compatible flashes" might actually not be completely compatible with newer Pentax models as they are released, and could possibly not be upgradable to the newest current protocols or to new developments that might appear in the future. So far, the original 360 FGZ and 540 FGZ models have remained 100% compatible through a number of changes in flash protocols since the first DSLR bodies, the *ist D and DS.
I haven't checked recently, but there might be one other advantage -- both the 360 and 540 Pentax flashes in the FGZ series (both old and new models) can be used as wireless remote TTL slaves using the popup flash as a master or controller (with camera bodies that allow this -- almost all of the DSLRS) while (IIRC) only a few of the top models of 3rd party flashes will allow remote wireless TTL metered flash triggered/controlled by the popup. The others require that you use another external P-TTL flash on-camera as the master or controller, so you might actually
need to buy another flash unit in order to use this feature. What will work with what in wireless TTL mode is a very confusing aspect of external flash, and is probably best explained in detail on this page:
Wireless - Pentax P-TTL Flash Comparison
Bottom line, all external flash units are not equal, even though the spec sheets might look very similar. Is the price differential justifiable? -- that's a potential user's decision, but I remember that a lot of early 3rd party P-TTL external flash users were very disappointed when their units no longer worked when they upgraded the body in their Pentax system, and they had to send their unit in to the factory for rechipping, or were told that updating the unit might no longer be supported in their discontinued model. The USB ports in some of the newer models would rectify this only if the mfg follows through with updated firmware as needed in a timely fashion. As far as wireless TTL goes, it's actually hard to decide if this might be a feature that is important if you've never used it, but I have found it to be very useful. . . YMMV, but I would not dismiss it lightly.
BTW, I've owned and used original 360 and 540 FGZs for over 7 years with a progression of bodies, the DS, K100DS, K10, K20, K-7, K-5, K-5IIs, and will get a K-3 sometime before spring.
One more thing -- flash power is not nearly as important as it was with film. The ability to use much higher ISO with little degradation of IQ can easily overcome even significant-seeming differences in max power (GN) from an external flash.
Scott