Created originally on Bitbucket by zeripath (Andrew Thornton)
Was already merged in Bitbucket before import, marked as merged by the import user
This fixes test_stylesheet.py test_split_named_styles test by adjusting the way StyleArray is copied avoiding trying to deep copy its internal list and, adjusting the NamedStyle so that the _wb and _style attributes are declared ensuring that these are created on deepcopy.