Welcome and thanks for the plugin too 🙂 you wrote it simple and friendly.
Hi,Please find my update it fixes dubicate image bug which I have posted earlier.
Just add below code after “attachment = attachment.toJSON();” (125 line in metabox.php)
if(attachment_ids!=''){
attachment_ids='';
attachment_ids=$('#image_gallery').val();
}