The command you have used, is not a feature of APFS-Filesystem. The CP -c command calls a function named "clonefile" which is part of bsd since 2015 (s. Man-Page)
http://www.manpagez.com/man/2/clonefile/
So if you clone a file for example, you can change attributes from Original and the Clone can have diffrent Attributs.
I think, the Feature, you are searching for is build in per Copy and Write. You can see the different, if you make a clone with Time Machine.
A have not found a commando per Terminal today, to show this differences, but the clonefile command therefore is not the right function.
The only Known-Way today to Show changed Attributes in Clones is Apple Time Machine Backup Solution.
It`s a Snapshot Solution. Something about this, in this Apple Dev Support-Case:
https://forums.developer.apple.com/thread/81171
mdls
command. If you find an answer, don't forget to update your post. – Tiaratibbettsstat -x file
? – Ligulatexattr -l file
? I don't have APFS system to test as of yet – Napalmmdls <filename>
? – Napalmj_inode_flags
which has the propertyINODE_WAS_CLONED
. Unfortunately I can't find a high-level (e.g. ObjC) function to query this info. – Ecru