Formation flying has always been a limitation on transponder technology because both the interrogation and the response are each on fixed frequencies.
Mode S does not help in this case because the initial sweep (which generates a list of targets to interrogate selectively on subsequent sweeps) will see a garbled return.
So, a formation should have just one plane with transponder on.