Copy edge colour instead of hardcoding it to max<T>