JSFiddle - React, Tailwind, and code Playground
HTML
<div style="border:1px solid black;width:300px;padding:5px 10px;margin-bottom:4px;">
<p>Lorem ipsum dolor sit amet.</p>
<p>quis nostrud exercitation ullamc.</p>
</div>
<button class="btn" style="border:1px solid black;border-radius:13px 10px;">Clone div</button>
JavaScript
$(document).ready(function(){
$(".btn").click(function(){
$("div").clone().appendTo("body");
});
});