Glide doesn’t see or have any control over your scripts. All it can do it copy all of the data, make a new sheet in a new user’s account, then fill it with the data it copied. This is quite different to how Google makes copies of sheets.
Scripts are attached to a sheet. I don’t think they are necessarily part of a sheet. I think you can make a copy within Google drive, and it may copy everything, but that’s Google making a copy of a Google product. Not a third party trying to make a copy. It’s a completely different process and Google has more access to itself than it would ever allow to third parties.
I think it’s not of a limitation that google imposes and Glide can only do so much with these limitations.