How to reproduce:
1. Open the attached project "Paste NaN in Serializable Type Bug.zip"
2. Select "GameObject" in the Hierarchy window
3. Right mouse click on the "Test" in the Inspector window
4. Copy its value
5. Repeat step 3
6. Paste the clipboard
Expected results: "Test>Float Inside Serializable Class" shows "NaN"
Actual results: "Test>Float Inside Serializable Class" shows "0"
Reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.13f1, 2022.2.0b5, 2023.1.0a8
Reproducible on: Windows 10