Add duplicated layers offline support

Fix #1901 thx to @oterral 

[test link](http://mf-geoadmin3.dev.bgdi.ch/ltpoa/)