No, It only creates a reference of the object, you can see the official documentation referring that here.
This matches your earlier intuition, modifying keyObj
(e.g., changing its properties) will still allow you to retrieve the associated value since it's the same object reference.