The following code does not yield the correct references with cleveref, but it does work as desired with regular references. What is the easiest solution? (See also another question which highlights a similar problem but the solution provided there doesn't help here)
\documentclass{article}
\usepackage{amsmath}
\usepackage{cases}
\usepackage{cleveref}
\begin{document}
\begin{subnumcases}{}
x=y, \label{eq:x=y}\\
z=a \label{eq:z=a}
\end{subnumcases}
Equations \cref{eq:x=y,eq:z=a}... \cref{eq:x=y} doesn't work. But \ref{eq:x=y} works well.
\end{document}