jQuery clone, form values and emptying
<p>I have this jquery tat I'm using from a fiddle (working with it to work with my site for testing).  </p>

<pre><code>$(document).ready( function() {
    var regex = /^(.*)(\d)+$/i;
    var cloneIndex = $(".clonedInput").length;

    $("button.clone").click(function(e){
        $(this).parents(".clonedInput").clone()
            .insertBefore(copy)
            .attr("id", "clonedInput" +  cloneIndex)
            .find("*").each(function() {
                var id = this.id || "";
                var match = id.match(regex) || [];
                if (match.length == 3) {
                    this.id = match[1] + (cloneIndex);
                }
        });
        cloneIndex++;
        return false;
    });

    $("button.remove").click(function(){
        $(this).children(".clonedInput").remove();
    });
});
</code></pre>

<p>Two issue that I am having, which are probably caused by one issue is when I remove one of the "cloned" fields, it removes all of the other fields besides the parent, and when I clone a field, it only works off of the parent and keeps the original values...</p>

<p>Any help would be appreciated! </p>
