Up to eight Meraki MS switches can be configured in a physical stack to allow for high-speed communication between devices.
Only like-models can be stacked. For example, MS350-48 and MS350-24X can be stacked, but MS250-48 cannot be stacked with a MS350-48. The MS210 and MS225 series are also cross-compatible with physical stacking.
Physical stacking is available on MS210, MS225, MS250, MS350, MS355, MS390 and MS410 switches, which include dedicated stacking ports. This section describes physical stacking.
Flexible stacking is available on MS420 and MS425 switches which do not have dedicated stacking ports; any port on these switches can be configured as a stack port.
https://documentation.meraki.com/MS/Stacking/Switch_Stacks#:~:text=Up%20to%20eight%20Meraki%20MS,hig....
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.