I have an element #superWidget in the DOM that is very interactive. It uses jquery UI sortable, draggable, and a bunch of other plugins.
Rather than duplicating, just do this:
document.getElementById('wrapperA').appendChild(document.getElementById('superWidget'));