Element duplication now works