JSFiddle - React, Tailwind, and code Playground

HTML

<table>
  <tr>
    <td><input type="text" /></td>
    <td><input type="checkbox" /></td>
    <td><input type="button" class="addRow" value="Add" /></td>
  </tr>
</table>

CSS

table tr td { padding: 4px; }

JavaScript

$('table').delegate('.addRow', 'click', function() {
    var row = $(this).closest('tr').clone(true);
    if(row.find('.removeRow').length === 0)
      row.append('<td><input type="button" class="removeRow" value="Remove" /></td>');
    row.insertAfter($(this).closest('tr'));
}).delegate('.removeRow', 'click', function() {
    $(this).closest('tr').remove();
});