'Creates a group from source.'

@utils.require_consistent_group_snapshot_enabled
def create_group_from_src(self, context, group, volumes, group_snapshot=None, snapshots=None, source_group=None, source_vols=None):

    if group_snapshot:
        return self.adapter.create_group_from_group_snapshot(context, group, volumes, group_snapshot, snapshots)
    elif source_group:
        return self.adapter.create_cloned_group(context, group, volumes, source_group, source_vols)
