<div class="repeater-group row panel panel-default">
    <div class="panel-heading text-right">
        <div class="btn-group">
            <button type="button" class="btn btn-sm btn-default duplicate-button">
                <i class="fa fa-copy"></i> {{ __('Duplicate Set') }}
            </button>
            <button type="button" class="btn btn-sm btn-silent-danger delete-button">
                <i class="fa fa-trash"></i> {{ __('Delete Set') }}
            </button>
        </div>
    </div>

    <div class="panel-body">
        {% for rkey, rfield in field.fields %}
            {% set rfield = rfield|merge({'canUpload': field.canUpload}) %}
            {% set rcontext = {
                'key':        rkey,
                'name':       name ~ '[' ~ index ~ '][' ~ rkey ~ ']',
                'contentkey': rkey,
                'field':      rfield,
                'labelkey':   rfield.label ?: rkey|ucfirst,
            } %}
            <div class="col-xs-12">
                {% include context.fields[rfield.type].template with rcontext %}
            </div>
        {% endfor %}
    </div>
</div>

<div class="repeater-group row panel panel-default">
    <div class="panel-heading text-right">
        <div class="btn-group">
            <button type="button" class="btn btn-sm btn-default duplicate-button">
                <i class="fa fa-copy"></i> {{ __('Duplicate Set') }}
            </button>
            <button type="button" class="btn btn-sm btn-silent-danger delete-button">
                <i class="fa fa-trash"></i> {{ __('Delete Set') }}
            </button>
        </div>
    </div>

    <div class="panel-body">
        {% set defaults = {
            class:      '',
            label:      '',
            variant:    '',
            canUpload:  field.canUpload,
        } %}
        {% for rkey, rfield in field.fields %}
            {% set rfield = defaults|merge(rfield) %}
            {% set rcontext = {
                'key':        rkey,
                'name':       name ~ '[' ~ index ~ '][' ~ rkey ~ ']',
                'contentkey': rkey,
                'field':      rfield,
                'labelkey':   rfield.label|default(rkey|ucfirst),
            } %}
            <div class="col-xs-12">
                {% include context.fields[rfield.type].template with rcontext %}
            </div>
        {% endfor %}
    </div>
</div>

Set default values for some field values
Set default values for some field values