The legislation paves way for public possession and personal cultivation at cannabis clubs and at home starting this year.