copy VersionedValue before returning to protect internal state

Change-Id: If56c512488b90bbfbabe32434e567b463d4acf1a
2 files changed