JSFiddle - React, Tailwind, and code Playground
HTML
<form name="forma1" method="POST">
<table border="1" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td>Площадь</td>
<td>Стоимость</td>
</tr>
<tr>
<td><input type="number" name="A1" value="0" min="0" max="4000000" step="0.001"></td>
<td><input type="text" size="8" maxlength="8" name="rescena1"></td>
</tr>
</tbody>
</table>
<input type="button" value="Вычислить" onClick="areaOfTriangle1(forma1);">
<input type="reset" value="Отменить">
</form>
<button>СКОПИРОВАТЬ ФОРМУ</button>
CSS
button {
background-color: red;
color: white;
font-weight: bold;
margin: 10px;
width: 200px;
padding: 5px;
}
JavaScript
$('button').on('click', function() {
var $form = $('form').eq(0);
$form.clone().insertAfter($form);
});