I am currently studying integral domains and see that if $ab = ac$ and $a \neq 0$, then we have $b = c$. I was wondering whether the same is true for three nonzero subsets $I, J, K$ of an integral domain $R$, namely, if $I, J, K$ be three nonzero subsets of an integral domain $R$ such that none of them are equal with $R$ and contains $1$ and satisfies $IJ = IK$, then does this imply that $J = K$? (For nonempty subsets $A, B$ of $R$, we mean $AB = \{ab \mid a \in A \text{ and } b \in B\}$).
Also, if the answer is not affirmative, then what kind of domains satisfy this cancellative property about subsets?