You can absolutely position the last element to achieve what you want without having to apply any clearfix to correct issues caused by float.
ul {
width: 300px;
list-style: none;
margin: 0;
padding: 0;
position: relative;
}
li#right {
position: absolute;
right: 0px;
}