Actually I remembered that wrong, ants aren’t identical, in fact they may be less related than siblings because the queen could have mated with more than one male. Sorry!
There is an evolutionary biology and game theory perspective on this but it’s more complex than the case of genetic clones.