Some people say you have to replace spokes when you put on a new rim. But if you have not had any spoke breakage and no other obvious reason to replace spokes, I prefer to reuse the old spokes if you get a new identical rim. You can tape the new rim to the old rim getting the valve stem in the same place. Then shift one spoke at a time from the old rim to the new one.
The time savings to avoid lacing up new spokes and cost savings of spokes may make buying the same brand and model of rim worth it if you are unsure what you really want.
If you try this with an old freewheel wheel, it is best to loosen up the freewheel first just in case something goes wrong and you find you need to replace any spokes on the drive side.