JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr id="row">
        <td><input value="one" /></td><td><input/></td>  
    </tr> 
</table>
<input id="cloneIt" type="button" value="Clone Row"/>

CSS

tr{1px solid black;}

JavaScript

$(function()
{
    //var clonedRow = $("#row").clone();
    
    $("#cloneIt").click(function()
    {
        var newRow = $("#row").clone();
        $("table").append(newRow);
    });

});