What does haunted golem do on death?

As the name, does it Rez as another creature? Does it summon one? Does it summon a random Death creature? What does it do?