.obsp annotations lost

When recovering raw data with adata.raw.to_data(), the .obsp annotations are lost. Is it intended?

I use Scanpy version 1.8.1.

Remark: here is the implementation of to_adata(), with no copy of .obsp:
def to_adata(self):
“”“Create full AnnData object.”""
return anndata.AnnData(
X=self.X.copy(),
var=self.var.copy(),
varm=None if self._varm is None else self._varm.copy(),
obs=self._adata.obs.copy(),
obsm=self._adata.obsm.copy(),
uns=self._adata.uns.copy(),
)