Just anecdotal. Was T2 and getting kidney stones every two or three months (cause not related but treatment was). Cut out oxalates which restricted diet. Monitored sugar 3-5 times daily. Switched to carnivore diet + onions and mushrooms and went on Metformin. All at the same time. Did this for 2.5 months with no additional exercise. This dropped me down below T2 level. Went off Metformin and am maintaining with same daily testing. Off carnivore for paleo minus anything with oxalates after the 2.5 months strict carnivore.
Strict carnivore for me was steak, hamburger, stew meat fried in butter, mushrooms and onions in butter, bacon, and very sharp cheddar (only on burgers or raw). Eat every bit of gristle and fat. It is very hard to get enough fat.
Brain fog lasted for 10-11 days. Felt fantastic after that.
To keep your carnivore costs down I would recommend stew meat from Costco fried with onions and mushrooms when you can't stand steak or plain burgers.
This has worked for me for the last 6 months. I have no idea what it will be long term. Maybe someone will find something useful in it.