duplicate-able checkboxes only returns value for orginal not duplicates
<p>Hi this was actually orginally in another question (<a href="http://stackoverflow.com/questions/14359615/make-checkboxes-act-like-radio-buttons-in-duplicatable-input-fields">HERE</a>) that had two parts. The first part was solved by @epascarello - thanks again, now just this part remaining, and i don't seem to get it.</p>

<p>I'm creating a duplicate-able div's containing checkboxes, on submit it only returns one value for the original input in the console, but no value for any duplicates.</p>

<p>Any help greatly appreciated.</p>

<p>JS Fiddle: <a href="http://jsfiddle.net/dawidvdh/EEd7c/" rel="nofollow">http://jsfiddle.net/dawidvdh/EEd7c/</a></p>

<p>jQuery:</p>

<pre><code>//Clone Tracking
var g_counter = 1;
var d_counter = 1;
var dependant = ["dependant"];
var group;
//Clone Tracking
//General Variables
var relation_input_groups = ["relation-group-1"];
//General Variables
//Generate variables
var relation_fields=[0];
var relation_input ="&lt;label&gt;Spouse&lt;/label&gt;"+

                    "&lt;input type='checkbox' value='spouse' class='relationship' name='relationship' /&gt;" +
                    "&lt;label&gt;own child&lt;/label&gt;"+ 

                    "&lt;input type='checkbox' value='ownchild' class='relationship' name='relationship' /&gt;" +
                    "&lt;label&gt;adopted&lt;/label&gt;"+ 

                    "&lt;input type='checkbox' value='adopted' class='relationship' name='relationship' /&gt;" +
                    "&lt;label&gt;stepchild&lt;/label&gt;"+ 

                    "&lt;input type='checkbox' value='stepchild' class='relationship' name='relationship' /&gt;" +
                    "&lt;label&gt;parent&lt;/label&gt;"+ 

                    "&lt;input type='checkbox' value='parent' class='relationship' name='relationship' /&gt;" +
                    "&lt;label&gt;inlaw&lt;/label&gt;"+ 

                    "&lt;input type='checkbox' value='inlaw' class='relationship' name='relationship' /&gt;" +
                    "&lt;label&gt;brother&lt;/label&gt;"+ 

                    "&lt;input type='checkbox' value='brother' class='relationship' name='relationship' /&gt;" +
                    "&lt;label&gt;other&lt;/label&gt;"+ 

                    "&lt;input type='checkbox' value='other' class='relationship' name='relationship' /&gt;";
//Generate variables
jQuery(document).ready(function(e) {
    //populate jquery generated fields
    jQuery(relation_fields).each(function() {
        jQuery(relation_input).appendTo('#relation-group-1');
    });
    //populate jquery generated fields
    //Cloning Function
    jQuery('#clone').click(function() {
        clone_dependant();
    });
    function clone_dependant() {
        // Store the value of the previous Id to insert the cloned div..
        var oldId = g_counter;
        g_counter++;
        currentdep ='dependant-'+g_counter;
        // Clone the Dependant Div and set a new id
        var $clonedDiv = jQuery('#dependant-1').clone(false).attr('id', 'dependant-'+g_counter);
        var relation_newDiv = 'relation-group-'+ g_counter;
        // Find div's inside the cloned object and set a new id's
        $clonedDiv.find('#relation-group-1').attr('id',"relation-group-" + g_counter );
        // You don't need to Loop thru the inputs to set the value
        $clonedDiv.find('input').val('');
        $clonedDiv.find('input:checkbox').removeAttr('checked');
        // Insert the cloned object 
        $clonedDiv.insertAfter("#dependant-" + oldId);

        relation_input_groups.push(relation_newDiv);
    }
    //Cloning Function
    //Validation
//submit function
$(document).on("click", 'input[type="checkbox"]', function() {
    jQuery(this).siblings(":checked").removeAttr('checked');
});

var result = {};
var dependants;
var dep_counter = 0;
jQuery('#submit').click(function(){
    jQuery('.dependant').each(function(k, v){
        dep_counter++
        dependants = {};
        result['dependant'+dep_counter] = [dependants];
        dependants['relationship'] = $(v).find('.relationship:checked').val();
    });
    var jsonData = JSON.stringify(result);
    console.log(jsonData);
});
});
</code></pre>

<p>and the HTML:</p>

<pre><code>&lt;div id="dependant-1" class="dependant"&gt;
    &lt;div id="label"&gt;relationship:&lt;/div&gt; &lt;div id="relation-group-1"&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;button id="clone"&gt;clone&lt;/button&gt;
&lt;button id="submit"&gt;submit&lt;/button&gt;
</code></pre>
