Clone
Create a copy of the set of matched elements.
<div>
<input type="button" value="Clon" id="btnToClone" />
<div id="clontainer" >
</div>
<?php
echo YsJQuery::newInstance()
->onClick()
->in('#btnToClone')
->execute(
YsJQuery::clonation()->in('#btnToClone')
->withDataAndEvents(true)
->deepWithDataAndEvents(true),
YsJQuery::appendTo('#clontainer')
)
?>
</div>

Support requests, bug reports, and off-topic comments will be deleted without warning.