I have an array of Employee's called m_AllEmployees. Employee inherits from Unity's ScriptableObject class allowing me to create an asset in Unity. However, when I set the value of a field in employee it changes the value of the item in the array and therefore the asset in Unity. I need it to be copied so that they are separate and independent Employees.
Employee employee = m_AllEmployees[index];