In the end I found the ‘data’ argument of select2 method.
So i did this:
$acf_row.find(‘[data-name=”sq_solution_features”] input[type=”hidden”]’).select2(‘data’, new_select2_data);
new_select2_data should be array of objects {id: id, name: name}
And it seems to work and persist through form submits.