Like a dog with two dicks.....

I'd say it was a result of alchemic experiments in that temple, the final goal of which is to create a homunculus