clone / remove row

I want to clone the last row and all its elements (without values if possible) in bootstrap. I managed to do it after exporting by creating a div name "cloned-row" to enclose the section I want to clone and with this function called by button click: function addROW() { $(".cloned-row:first").clone().insertAfter(".cloned-row:last"); } Is there another way to duplicate the last row or a way to add/rename a div so I can clone it (with the above function)? Thank you