Preserve unexpected items in options object passed to the constructor
Merge pull request #861 from fredj/layer-options

Preserve unexpected items in options object passed to the constructor