On the quick bar of any selected element is a button to duplicate the element, clicking this will duplicate the element exactly including any behaviour or style settings applied.