title: Why isn't the name property of my NSImage being copied when I call `-copy`?
body: <p>I have an <code>NSArray</code> ("objects") that contains objects of type <code>NSImage</code> </p>
  
  <p>I have found that when I try to make a copy of each image in the array, the <code>name</code> property on the <code>NSImage</code> does not get copied.</p>
  
  <pre><code>   for (NSObject* object in objects)
     {
        NSMenuItem* menuItem = nil;
        if ([object isKindOfClass:[NSImage class]])
        {
           NSImage* image = [object copy];
           //Breakpoint here
  </code></pre>
  
  <p><strong>Here is a screenshot of my variable view at the breakpoint above ^^</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Xscyb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xscyb.png" alt="enter image description here"></a></p>
  
  <p>How could it be that the <code>name</code> property isn't being copied?</p>