“Because iCloud Drive presents the illusion of a file system similar to APFS on your Mac, it’s easy to assume that it behaves the same.”

Link. In reality only a subset of metadata is preserved. Resource forks are stripped. Large xattr are lost. 3rd party can be lost, which implies they should not be relied on.

No documentation.