Changed the order of arguments of clamp() for consistency with boost::clamp.