Steps to Reproduce
- Find any color pattern in the UI
- Click the Dropdown button on the right
- Select "Copy pattern"
- On the copy, click the Dropdown button again
- Select "Edit pattern"
- Select any of the pattern's colors and change it
Expected Result
Only the selected color in the pattern being edited is changed
Actual Result
The selected pattern is changed, but also the original pattern from which it was copied. Even when that pattern is locked.
It seems that the copy is only a shallow copy, still sharing some parts with its original pattern.