Let $f=f(T) \in \mathbb{C}[x,y][T]$ be a monic polynomial: $f=T^n+a_{n-1}T^{n-1}+\cdots+a_1T+a_0$, $a_j \in \mathbb{C}[x,y]$.
Denote: $A=\mathbb{C}[x,y]$ and $B=\mathbb{C}[x,y,T]/(f)=\mathbb{C}[x,y][w]$, where $w^n+a_{n-1}w^{n-1}+\cdots+a_1w+a_0=0$.
Of course, $A$ is a UFD, so irreducible elements of $A$= prime elements of $A$.
Can one describe all possible forms of $f$, for which every irreducible element of $A$ remains irreducible in $B$?
Remarks: (1) Notice that $a_0$ is reducible in $B$.
(2) This question is a similar question of mine (which got no answers yet).
(3) I guess that my question has no complete answer, so partial answers are also welcome.
(4) The motivation to ask this question is: $k[x^2] \subset k[x^2][x^3]$, $T^2-(x^2)^3$.
Thank you very much!
Edit: As was mentioned in the comments, I have now asked this somewhat relevant question.