Context
We want to use `Basemap.clone()` in order to overcome error 24 during screen rotation on Android.
Issue
It works fine for online/offline mmpks layers, but we also have `CustomTiledLayer` and it seems to fail silently (the map becomes just blank after basemap.clone() call), also there is no way to override `clone` function in CustomTiledLayer as it's final.