Unit-over-unit duplexes are the most cost-efficient as they require smaller foundations and roofs. Builders might also be able to centralize some of the piping and wiring, which can save money on plumbing and electrical costs.