New law limits seclusion and restraints