Made ::set work like ::get with input arrays