Close GH-515: createEl: dispose reference to cloned element. Fixes #514