The expectation of this function is that it will return a new rectangle, which you can modify without changing the original. This return path should return a copy, so that expectation remains true in all paths.