diff --git a/Source/NSTreeController.m b/Source/NSTreeController.m index 1ec62884e..f03d8abaf 100644 --- a/Source/NSTreeController.m +++ b/Source/NSTreeController.m @@ -498,7 +498,9 @@ - (id) copyWithZone: (NSZone*)zone { - return [self retain]; + NSData *data = [NSArchiver archiveDataWithRootObject: self]; + id result = [NSUnarchiver unarchiveObjectWithData: data]; + return result; } @end