createEl: dispose reference to cloned element

This allows future garbage collection to happen on the element which
is not longer used nor referenced by others.

Fixes #514