add ability to clone dom elements