MV Keep actor level when removing and then adding party members

Hello, I'd like to keep constant the level of a given actor ID.
Let's say I remove from party actor nr. 5 and 10 but then, after hours of gameplay I want to take them back to the party, at the same level. How can I track their level?
setting the variable equal to the level won't work, because I have a lot of actors and I don't want to make the process manual.
What's the smartest way to store and retrieve the actorID - level info?
no need to track, because that is the default behaviour.

on the command to change membership, you have the option to initialize.
that means resetting all actor data to database values and is needed for the first adding only.
if you do not use the initialize option, the actor will keep all data from before leaving the party.
Yeah I know, but I'm using a custom code which reset the level from the start with the script
Code:
      $gameParty.addActor()

Original thread: https://forums.rpgmakerweb.com/threads/keep-actor-level-when-removing-and-then-adding-party-members.143398/