Use cloneWithProps in set-dom-key.
class -> defclass in README.