ENH: Add static method to set multisampling