As it currently stands, if you have limited metal or crystal and a bit of spare gold, it always makes sense to build the smallest size possible and then upgrade, as you only pay the metal and crystal for the smaller unit size, plus a small amount of gold for the upgrade.
This doesn't make a great deal of sense to me, and does feel like a bit of an exploit. It would surely make more sense if you had to pay the metal and crystal for upgrading the unit size, e.g. if you move from a unit of three to a unit of four then you should pay a third of the crystal and metal you paid when you built the original unit.