JSFiddle - React, Tailwind, and code Playground
HTML
<button>Clone and add</button>
<p>
<input class="file" type="file" name="files[]">
</p>
JavaScript
$('button').click(function(){
var $cloned = $('p:first').clone();
$cloned.find('input').each(function(){
this.value = null;
});
$cloned.appendTo('body');
});