If your HTML code resembles the following:
<div class="ContainerDiv">
<div id=ClonethisDiv><input class="InputTxtBox" type="text" /></div>
</div>
<a href="#">clone</a>
Then, you can use the following jQuery code to clone a specific div and its input element:
$("body").on("click", "a", function() {
$("#ClonethisDiv").clone().appendTo(".ContainerDiv").find(".InputTxtBox").val("");
});
By clicking on the anchor tag, you will create a copy of the div with ID 'ClonethisDiv' and add it to the container div.
When cloning, the input element with class '.InputTxtBox' will be cleared before copying. However, no need to worry as the values of text boxes already in the container div will remain unchanged.
I hope this explanation helps!