Fix broken Cursor.discard() method.

We need to clone the loaded values instead of copying them, otherwise
changing any field values will break atomic saves and dirty detection.