Read all Hazard Template attributes (haz:if, etc) in one function hazAttrs().
hazAttrs() calls hazAttr() which also removes the attribute.

The previous snapshot wasn't removing haz attrs when cloning templates.