JSFiddle - React, Tailwind, and code Playground

HTML

<div class="take"><p>this is the para</p><button class="test">copy</button></div>

CSS

p{
    float:left;
    line-height:28px;
}
button{
    float: right;
}
div{
    width: 200px;
}

JavaScript

$(document).on('click', '.test', function() {
    var o = $(this).parent();
    o.clone().insertAfter(o);    
});