The problem is that after save and then open to edit Wyiswyg is missing at all cloned fields except of first group. They looks like that (screenshot) - http://joxi.ru/L21Xk6qUeGjOmX but the 1st group is correct - http://joxi.ru/zANawzXUEJoX29
Code is : https://pastebin.com/cTLJLCfN