clamp allows an array as its second parameter
Updated dist JS