title: append new item to an array of a class in Swift 2.0
body: <p>This is driving me crazy. I used "append" all the time, but I really can't find the problem this time. Whenever I add a new item to the array, then all elements remain the same, equal to the last appended element.
  What am I missing? I am sure it must be something very simple...</p>
  
  <pre><code>  var MyDatabase : [MyClass] = []
  
      class MyClass : NSObject {
          var x : String = ""
      }
  
      let Item = MyClass()
      for (var i = 0 ; i &lt; 5 ; i++){
  
          Item.x = "\(i)"
          MyDatabase.append(Item)
          print(MyDatabase.first!.x) // it shows 0,1,2,3,4 and it should always be "0"
      }
      for (var i = 0 ; i &lt; MyDatabase.count ; i++){
      print(MyDatabase[i].x) // it shows 4,4,4,4,4 and it should be 0,1,2,3,4
      }
  </code></pre>