0👍
In general it is best to avoid trying to copy ref objects to each other directly like this as the intended use is as a reference to a single element / value you can assign or manipulate directly.
If you want to make a copy so that you have two distinct refs that share the same value, but can be modified separately without impacting each other, you would instantiate like this –
const a = ref(new A());
const b = ref(a.value);
Source:stackexchange.com