specialized unsafeImmutable for structs