Not sure about 2wd, but me racing 4wd I switch from carpet to clay easily. Diff setups are mainly the same. Shock oils are mostly the same. Front shock oil might be thicker on carpet. Front springs are different (stiffer on carpet, but I run the thicker springs on clay and works better for me), sway bars and ride height. And the obvious tires. Some carpet tracks do require for your car to have a chassis protector and shock tower/cap protectors so make sure you add on that when racing carpet, but they can be kept on when racing clay. Also the clay makes the car dirty so if you do planning on going to a carpet track within that next few weeks, make sure you clean your car really good. My local track is sealed/glued so my car isn't all that dirty, but if its hard packed dirt and just dusty/watered down or muddy after a while, yea its a bit worse on how dirty the car gets.
Now that reminds me, I should take my car over to my uncles to use the air compressor to dust off my car. Dirt likes to collect near the gear boxes, arm braces and chassis braces. Rarely do I touch those areas on my buddy lol.
Once you have a base setup for both tracks you like, and have the right tires and spring/oil packages you like, it will probably be more easier to switch setups.