Attached is a small, sample plug-in which adds two GuiLabels for a player (chat command /testadd) and removes either label using .destroy() (chat commands /testremovea and /testremoveb).
As far as I can tell, it destroys BOTH labels when attempting to destroy either of them. Am I missing something?
(Incidentally, using .destroy() seems to destroy ALL added GuiElements, even those added by other plug-ins).
The ZIP includes both the .jar and the sources.
Disclaimer: the plug-in is not particularly robust; DO NOT USE in production!