Returns the KeyValue object after setting or removing a key (for method chaining)