Won't this work?
*cast(void**)&object



great, works!

I've added it to my dtools repo:

https://github.com/timotheecour/dtools/blob/master/dtools/util/util.d#L19