Split Alpha
Choose Split Alpha ‣ Alpha into Mask.
When finished editing the Transparency Mask, on it and select Split Alpha ‣ Write as Alpha.
How to save a PNG texture and keep color values in fully transparent areas
the layer in the layers docker.