jquery duplicate last table row

JavaScript
var $tableBody = $('#tbl').find("tbody"),
    $trLast = $tableBody.find("tr:last"),
    $trNew = $trLast.clone();

$trLast.after($trNew);

Source

Also in JavaScript: