A extended question from here
The clone
function seems to be able to copy every element but not the hidden inputs
Now everything looks like this after clone:
<input id="_denominations[0].id.reference" class="removableHiddenOrder" type="hidden" name="denominations[0].id.reference" value="">
<input id="_denominations[0].denomination" class="removableHiddenDenom" type="hidden" name="denominations[0].denomination" value="">
the value=""
is a problem. It should carry the value from original target element. I know clone() by default is clone(false), but use clone(true) doesn't help much.