Added copy() method to DictObject