Allow ConstantProperty to be used with HTML elements.

Normally `ConstantProperty` requires `clone` and `equal` functions
for non basic types, but since `HTMLElement` instances support
reference equality; that's not needed in this case.