Treat 0 and 1 samples as no multisampling.
Add static create() method.