SmartCopy is a Unity Editor tool that lets you copy and paste serialized field values between any Unity objects by intelligently matching property path and type. It works across any built-in components, MonoBehaviours, and ScriptableObjects — even if they are unrelated classes — as long as their serialized fields match.
Learn more about the package's code here.