How to choose between an attached or detached style duplex

How to choose between an attached or detached style duplex when building a dual occupancy