Print a warning in the console if you delete a key from script save data

I present the following contrived situation:

function MyScript:Init()
  local data = self:GetSaveData()
  if not data.initialized then 
    data.something = 123
    data.somethingElse = 432
    data.initialized = true = data.something = data.somethingElse


function MyScript:AddStuff(amt) = + amt
  self:SetSaveData({ something =, somethingElse = })

In this case, the save data held by the script losing the initialized key when AddStuff is called.

I think it would be nice to have a small warning in the console like

[Warning] key "initialized" removed from "MyScript" save data