issue #5685: fix LayerMultiplex ctor bug
issue #5685: fix LayerMultiplex.create
Merge pull request #1990 from joshuastray/use_new_in_sample

issue #5685: fix LayerMultiplex ctor bug