Open
Description
Describe your feature request
#1013 introduced a duplicate linked option, but there are no applications for it yet. Current implementation of material manipulation methods sets and gets them for object data. This leads to shared materials between original objects and linked duplicates. In Blender two objects can have shared data, but different materials by switching the material slots links from "DATA" to "OBJECT".
Describe a possible solution
The methods for setting and getting the object's materials shall be able to manipulate with the both object's and object's data material slots.