Added __clone() (deep copy) method to the Setting class.