New York is set to become the nation’s second-largest legal marijuana market after Gov. Andrew Cuomo on Wednesday signed legislation allowing the licensing of dispensaries. Cannabis storefronts will be allowed to open as soon as next year under the measure (S.854A/A.1248A), which the Legislature cleared on Tuesday. New York is the 16th state to decide to let adults use cannabis, though marijuana stores probably won’t open in New Jersey until next year, and South Dakota’s…