     /// The starting color of the gradient.
     @IBInspectable var startingColor: NSColor? {
         didSet {
-            // Make a copy to avoid sharing.
-            startingColor = startingColor?.copy() as? NSColor
-
             needsDisplay = true
         }
     }

//  GradientView.swift
//  Vienna
//
//  Copyright 2017
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.

        // Clear the background and return if the starting color is not set.
        guard let startingColor = startingColor else {
            NSColor.clear.setFill()
            bounds.fill()

            return
        }

