Turn LayoutUnit into a regular class
Make two members private and add getters and setters, base the copy constructor on the assignment operator.