In my personal opinion, Real Madrid definitely needs to keep Rodrygo. Without him, Real Madrid will undoubtedly face difficulties next season, especially if a key player is injured or something else. However, if Rodrygo is present and doesn't leave, the players will remain fit and will certainly be fortunate next season. But of course, we'll just have to wait and see what happens.
Rodrygo lost his main place when Xabi came and indeed this is a difficult situation and forcing him to stay will only torture Rodrygo because for his place at this time is clearly very difficult especially now that Xabi always prioritizes Arda at this time and they have also brought in Mastantuono who can indeed be positioned in the same place as Rodrygo at this time.
So at the moment his chances of staying are clearly very difficult and it would be better for him to leave when he is not in Xabi's future plans for his scheme.
Currently Liverpool is a club that has always been linked to Rodrygo and indeed the winger position at Liverpool is also still quite risky if Salah leaves so in the end this could be a good thing for the continued career of Rodrygo.
But there is still no certainty about this so we just have to wait especially since the transfer season is still quite long in terms of closing so that all possibilities can still occur which is clear at this time Madrid has indeed freed Rodrygo to leave with the clause they have determined.