takeSnapshot

fnDomSnapshot takeSnapshot(const(DomDocument) * doc) pure

A snapshot of doc (it uses the GC; it also works at compile time)