Hi,
It should not matter if you configure it on a single switch or stack. The command should be the same since the stack logicality acting as one switch and whatever you configure on the master switch will replicate to all the members. There is no restriction in the config guide regarding stack configuration.
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-0_2_EX/security/configuration_guide/b_sec_152ex_2960-x_cg/b_sec_152ex_2960-x_cg_chapter_01111.html
HTH