I think this is the best layout for "Two of a kind".
Almost every dice are rolling, every rolling dice get doubled 6 and adjacent to 3 dice.
I found the same layout, but I am not sure if it's more efficient than the "all dice rolled" layout. Too lazy to do the math so I guess I'll never know.