Constructing return value for function, deep_copy not needed