Material user count in duplicated ob.data is not updated. Separate layer operation later iterates over all the material slots thenremoves unused slots from respective objects. Since id.us=1 for individual material, if material is used by one object but not the other, count is decremented to zero. If we use `USER_DUP_GPENCIL` then user count is properly handled in `grease_pencil_foreach_id/id_copy_libmanagement_cb`. Pull Request: https://projects.blender.org/blender/blender/pulls/135769