JSFiddle - React, Tailwind, and code Playground
HTML
<script id="item-template" type="text/template">
<div class="item">
<input>
<input>
<a href="#" class="remove">удалить</a>
</div>
</script>
<a href="#" class="add">Добавить</a>
<div class="box"></div>
JavaScript
$('.add').on('click', function(e){
e.preventDefault();
var item = $('#item-template').html();
$('.box').append(item);
});
$('.box').on('click','.remove', function(e){
e.preventDefault();
$(this).closest('.item').remove();
});