If you remove the two previous MX from the network, and then just add the new ones, they will inherit the old MX config (perhaps not all ports, depending on how many LAN ports the different models have).
This will of course give you a little downtime when you remove the old ones.
So have a backup internet connection, like a phone hotspot, ready, so you can add the new ones to the network.
Plan for it.
Also remember to configure any static IPs on the new MX before switching.