Fixed bug with copying of feature class.

The reference returned from getFeature was copied to another object.
Merge branch 'master' of https://github.com/LukasWoodtli/FeaturesTogglePlusPlus