JSFiddle - React, Tailwind, and code Playground
HTML
<form method="get" action="">
<table>
<tr id="post-6716">
<td></td>
</tr>
</table>
</form>
<form method="get" action="">
<table>
<tr id="inline-edit">
<td><input type="text" name="post_title" value="123" /></td>
</tr>
</table>
</form>
JavaScript
var editRow = $('#inline-edit').clone(true);
editRow.attr('id', 'some');
$('#post-6716').after(editRow);
console.log( $('#inline-edit :input').serialize() );
console.log( $('#some :input').serialize() );