Good day! I found an unwanted behavior / bug. I have a document with two layers (smart objects linked to a file). Each of these two has a vector mask. When creating a copy of the document using the history panel (create new document from current state), the vector masks are lost (in the new document)!